    function y = plotmodel(model)
        
        hold on;
        for i=1:size(model,2),
            for j=1:size(model{i},3),
                plot(model{i}(:,1,j),model{i}(:,2,j));
            end
        end        
        y = 1;
    end